Skip to content

chore(ci): build and publish source distribution - #101

Merged
Dexter9532 merged 1 commit into
mainfrom
build-source
Mar 5, 2026
Merged

chore(ci): build and publish source distribution#101
Dexter9532 merged 1 commit into
mainfrom
build-source

Conversation

@mirzak

@mirzak mirzak commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Some users of PyPi require source distributions, rather then wheels. Lets satisfy those users. One example was Yocto Project, which only accepts sources.

Some users of PyPi require source distributions, rather then
wheels. Lets satisfy those users. One example was Yocto Project,
which only accepts sources.

Signed-off-by: Mirza Krak <mirza@mkrak.org>
Copilot AI review requested due to automatic review settings March 5, 2026 12:37
@mirzak
mirzak requested a review from Dexter9532 March 5, 2026 12:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables the publishing of source distributions (sdist) alongside wheel distributions to PyPI and TestPyPI, supporting users (such as the Yocto Project) who require source-level packages rather than pre-built wheels.

Changes:

  • Removed the --wheel flag from uv build in both publish workflows so that uv build now produces both wheel and sdist artifacts.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/publish-to-test-pypi.yml Changed uv build --wheel to uv build to also produce an sdist for TestPyPI publishing.
.github/workflows/publish-to-pypi.yml Changed uv build --wheel to uv build to also produce an sdist for PyPI publishing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Dexter9532
Dexter9532 merged commit c639afb into main Mar 5, 2026
24 checks passed
@Dexter9532
Dexter9532 deleted the build-source branch March 5, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants